//
//  QuchongTableViewCell.m
//  DocOpretionDemo
//
//  Created by haoxiang on 17/9/9.
//  Copyright © 2017年 youyixinxi. All rights reserved.
//

#import "QuchongTableViewCell.h"

#define Screen_width           [UIScreen mainScreen].bounds.size.width
#define Screen_height          [UIScreen mainScreen].bounds.size.height

@interface QuchongTableViewCell ()

@property (nonatomic, strong) UIImageView         *selectImage;
@property (nonatomic, strong) UILabel             *title;

@end

@implementation QuchongTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{

    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self setUI];
    }
    return self;
}

- (void)setUI{
    
    _selectImage = [[UIImageView alloc]initWithFrame:CGRectMake(20, 15, 20, 20)];
    _selectImage.layer.cornerRadius = 10;
    _selectImage.layer.masksToBounds = YES;
    [self.contentView addSubview:_selectImage];

    _title = [[UILabel alloc]initWithFrame:CGRectMake(50, 15, 250, 20)];
    _title.backgroundColor = [UIColor clearColor];
    _title.textColor = [UIColor blackColor];
    _title.font = [UIFont systemFontOfSize:16];
    [self.contentView addSubview:_title];
}

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
